package com.kitri.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.kitri.dao.*;
import com.kitri.domain.JuctionMbCf;

@Service
public class JuctionMbCfServiceImpl implements JuctionMbCfService {
	private JuctionMbCfDao juctionMbCfDao = null;
	
	public JuctionMbCfServiceImpl() {
		this.juctionMbCfDao = ((JuctionMbCfDaoImpl) AppContext
				.getAppContext().getBean("juctionMbCfDao"));
	}

	@Override
	public void add(JuctionMbCf juctionMbCf) {
		juctionMbCfDao.add(juctionMbCf);
	}

	@Override
	public void remove(JuctionMbCf juctionMbCf) {
		juctionMbCfDao.remove(juctionMbCf);
	}

	@Override
	public void removeOfMember(String seqId) {
		juctionMbCfDao.removeOfMember(seqId);
	}

	@Override
	public boolean checkIt(JuctionMbCf juctionMbCf) {
		return juctionMbCfDao.checkIt(juctionMbCf);
	}

	@Override
	public List<JuctionMbCf> list() {
		return juctionMbCfDao.list();
	}

}
